package com.stone.design.patterns.strategy;

import android.util.Log;

import static com.stone.design.patterns.factory.Tag.TAG;

/**
 * @author Stone
 * @version V1.0
 * @description: 玩具呀，不会叫也不会飞哦，头是红色de
 * @date 18/4/2 21:48
 * @email redsstone@163.com
 */
public class ToyDuck extends Duck{

    public ToyDuck() {
        mFlyBehavior = new FlyNoWay();
        mQuackBehavior = new NoQuack();
    }

    @Override
    void display() {
        Log.e(TAG, "display(ToyDuck.java:13)-->>" + "我的头是红色的哦");
    }
}
